#ifndef __HEAP_H__
#define __HEAP_H__

// 接口
#include "app_cfg.h"
#include <stdlib.h>
#include <stdint.h>

#define pvMalloc(__ARG)								( pvPortMalloc(__ARG) )
#define pvFree(__ARG)								( vPortFree(__ARG) )


void vPortFree( void *pv );
void *pvPortMalloc( size_t xWantedSize );

void *pvCalloc(size_t nitems, size_t size);
void *pvRealloc(void *ptr, size_t size);

#endif
